package com.rock.code.bigdata.database.controller;

import com.rock.code.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
/**
 * @author piandu
 *  * @description 数据库(Oracle)
 * @date 2018/9/14 16/34
 */
@Controller
@RequestMapping("/DataBase")
public class DataBaseViewController extends BaseController {


    @RequestMapping("/{UNIT_ID}/{DATE_TYPE}/{CLASS_NAME}")
    public String host(@PathVariable("UNIT_ID")String UNIT_ID,@PathVariable("DATE_TYPE")String DATE_TYPE,@PathVariable("CLASS_NAME")String CLASS_NAME){
        this.request.setAttribute("UNIT_ID",UNIT_ID);
        this.request.setAttribute("DATE_TYPE",DATE_TYPE);
        this.request.setAttribute("CLASS_NAME", CLASS_NAME);
        return "bigdata/database/databaseView";
    }
}
